package cn.xdd.entity;

import java.util.List;

/**
 * @author user_xdd
 * @Date 2022-04-14 15:30
 * @description
 * @return
 */
public class allbookJson{

    public List<Book> datas;  /*查询结果集合*/
    public Integer pages;     /*当前分页下的总页数*/
    public Integer nowpage;   /*当前的页面*/

    public List<Book> getDatas() {
        return datas;
    }

    public void setDatas(List<Book> datas) {
        this.datas = datas;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }





    public allbookJson() {
    }

    public Integer getNowpage() {
        return nowpage;
    }

    public void setNowpage(Integer nowpage) {
        this.nowpage = nowpage;
    }

    public allbookJson(List<Book> datas, Integer pages, Integer nowpage) {
        this.datas = datas;
        this.pages = pages;
        this.nowpage = nowpage;
    }

    @Override
    public String toString() {
        return "allbookJson{" +
                "datas=" + datas +
                ", pages=" + pages +
                ", nowpage=" + nowpage +
                '}';
    }
}
